package com.app.service;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Collection;

import com.app.entity.Product;

public interface ProductService {
	Product load(int id);
	
	Collection<Product> findProductByParameter(Product product);
	
	void saveOrUpdateProduct(Product product,File[] doc, String[] docFileName,String[] docContentType) throws FileNotFoundException, IOException;
	
	void deleteProduct(String idStr);
	
	int updateOnline(String idStr,int value);
}
